name_list = ['Tom', 'Lily', 'Rose']

# 1. in：判断指定数据在某个列表
print('Tom' in name_list) # True
print('Toms' in name_list) # False

# 2. not in：判断指定数据不在某个列表
print('Tom' not in name_list) # False
print('Toms' not in name_list) # True